<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Ctool</title>
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <link rel="icon" href="./favicon.ico" type="image/x-ico">
    <meta name="X-UA-Compatible" content="IE=edge, chrome=1">
    <script>
        window.__TAURI__.invoke("ctool_is_use_offline").then((result) => {
            console.log(result)
            if (result) {
                return window.location.href = "./tool.html"
            }
            return window.location.href = "https://ctool.dev/tool.html"
        }).catch((e) => {
            console.log("error", e)
            return window.location.href = "./tool.html"
        })
    </script>
</head>
<body style="margin: 0;padding: 0;">
<div style="width: 100%;height: 600px;margin: 0 auto;overflow: hidden;display: flex;justify-content: center;align-items: center;font-size: 16px;color: #666;">
    Loading...
</div>
</body>

</html>
